"""
x=2
y=2
if (x==y):
	print("Equal")
else:
    print("Not Equal")
"""


"""
x = 2
y = 3
x *= y + 5
print(x)
"""


"""
print(4.5 / 2)
print(4.5 // 2)
print(4.5 % 2)
"""

"""
i=-1
while(i<0):
	i*=i
print(i)
"""


"""
sum = 0
for i in range (1,11):
    sum +=i
print(sum)
"""

"""
for i in range(1, 10):
    for j in range(1, i+1):
        print(f'{j}x{i}={i*j}\t', end='')
    print()

"""

mark = int(input("请输入："))
if 90<= mark <= 100:
    print("优")
elif 80 <= mark <90:
    print("良")
elif 70 <= mark < 80:
    print("中")
elif 60 <= mark <70:
    print("及格")
elif mark < 60:
    print("不及格")